<?php
/**
 * Created by PhpStorm.
 * User: yuguozhen
 * Date: 16/7/28
 * Time: 下午3:13
 */
namespace models\Timer\Update;
class StatisticsModel extends \models\StatisticsDataResultModel{

    public function toUpdate($record_id){
        try {
            $record = $this->whereIn('ID',$record_id)->update(['VALID_FLAG' => 'DISABLE']);
            return $record;
        } catch (Exception $e) {
            var_dump($e->getMessage());
        }

    }

}